package com.open.capacity.finance.service;

import com.open.capacity.commons.Result;
import com.open.capacity.finance.entity.AuditModelWarnDeal;

import com.open.capacity.commons.PageResult;

import java.util.Map;
import java.util.List;
/**
 * 模型告警整改
 *
 * @author 
 * @email 
 * @date 2023-02-23 09:37:07
 */
public interface AuditModelWarnDealService {
    /**
     * 添加
     * @param auditModelWarnDeal
     */
    int save(AuditModelWarnDeal auditModelWarnDeal);

    /**
     * 修改
     * @param auditModelWarnDeal
     */
    int update(AuditModelWarnDeal auditModelWarnDeal);

    /**
     * 删除
     * @param id
     */
    int delete(String id);


    Result auth(String id, String description) throws Exception;


    /**
    * 查询记录
    * @param id
    * @return
    */
        AuditModelWarnDeal findById(String id);

    /**
     * 分页
     * @param params
     * @return
     */
    PageResult<AuditModelWarnDeal> pageAll(Map<String, Object> params);

    /**
     * 列表
     * @param params
     * @return
     */
    List<AuditModelWarnDeal> findAll(Map<String, Object> params);
}

